﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="freecart.Default" %>
<%@ Register src="Controls/BrowseCategory.ascx" tagname="BrowseCategory" tagprefix="uc1" %>
<%@ Register src="Controls/ViewCart.ascx" tagname="ViewCart" tagprefix="uc2" %>
<%@ Register src="Controls/ViewItem.ascx" tagname="ViewItem" tagprefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Freecart - Sample Cart</title>
    <script src="./Includes/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script src="./Includes/core.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <asp:HiddenField ID="hiddenThemeName" runat="server" />
        <div id="HeaderToolbar">
            <asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
                <ContentTemplate>
                    <asp:Literal ID="CartCountWrapper" runat="server">Cart Items (<span id="CartCount">0</span>)</asp:Literal>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
        <div id="ShoppingRootMenu">
            <div id="MenuLeft" class="float_left"></div>
            <div class="float_left menu_item space_right" expand="BrowseCategoryWrapper">Shop</div>
            <div class="float_left menu_item space_right" expand="ShoppingCartWrapper">View Cart</div>
            <div class="float_left menu_item" expand="AboutWrapper">About</div>
            <div id="MenuRight" class="float_left"></div>
            <div class="clear"></div>
        </div>
        <div id="CartWrapper">
            <div class="treeMenu float_left">
                <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
                <asp:TreeView ID="TreeView1" DataSourceID="SiteMapDataSource1" ImageSet="BulletedList2" runat="server">
                    <ParentNodeStyle Font-Bold="true" />
                    <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
                    <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px" VerticalPadding="0px" />
                    <NodeStyle ForeColor="Black" HorizontalPadding="5px" NodeSpacing="0px" VerticalPadding="0px" />
                </asp:TreeView>
            </div>
            <div class="cartContent float_left">
                <asp:UpdatePanel ID="UpdatePanel2" UpdateMode="Conditional" runat="server">
                    <ContentTemplate>
                        <div id="BrowseCategoryWrapper" class="BodyPanel ActivePanel" runat="server">
                            <uc1:BrowseCategory ID="BrowseCategory" runat="server" />
                        </div>
                        <div id="ShoppingCartWrapper" class="BodyPanel" runat="server">
                            <uc2:ViewCart ID="ViewCart" runat="server" />
                        </div>
                        <div id="ViewItemWrapper" class="BodyPanel" runat="server">
                            <uc3:ViewItem ID="ViewItem" runat="server" />
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </div>
            <div class="clear"></div>
        </div>
        <div id="FooterToolbar">
            <!-- Footer here -->
        </div>
    </form>
</body>
</html>
